.tab {
  width: 600px;
  margin: 100px auto;
  border: 2px solid cadetblue;
}

.tab .dt {
  height: 40px;
  display: flex;
  justify-content: space-evenly;
  /*align-items: center;*/
  border-bottom: 2px solid cadetblue;
}

.tab .dt span {
  width: 100px;
  background-color: aqua;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
}

.tab .dt span.active {
  background-color: brown;
  color: #fff;
}

.card {
  display: none;
  height: 200px;
  padding: 20px;
}

.card.show {
  display: block;
}
